<?php
/*
 * File CursusStatistiek.php for project Rijlesplanner.nl
 * Created on Jan 22, 2008 at 9:32:46 PM by Ivar Pruijn
 */
class CursusStatistiek {
  
	// Properties:
	public	$CursusId;
	public	$ItemType;
	public 	$InPakket;
	public 	$ExtraGefactureerd;
	public 	$Gepland;
	public 	$GeplandExtern;
	public 	$Tegoed;
	public  $FlexibelItem;

	// Methods:

	/**
	 * void __construct ()
	 * This is the constructor method for the User class.
	 */
	public function __construct() {
   	}
   	
   	public function CursusStatistiek(array $atts=NULL) {
		$this->ConstructFromArray($atts);
	}
	
	public function getCursusId() {
	  return $this->CursusId;
	}

	public function setCursusId($newVal) {
		$this->CursusId = $newVal;
	}

	public function getItemType() {
	  return $this->ItemType;
	}

	public function setItemType($newVal) {
		$this->ItemType = $newVal;
	}

	public function getInPakket() {
	  return (int)$this->InPakket;
	}

	public function setInPakket($newVal) {
		$this->InPakket = $newVal;
	}

	public function getExtraGefactureerd() {
	  return (int)$this->ExtraGefactureerd;
	}

	public function setExtraGefactureerd($newVal) {
		$this->ExtraGefactureerd = $newVal;
	}

	public function getGepland() {
	  return (int)$this->Gepland;
	}

	public function setGepland($newVal) {
		$this->Gepland = $newVal;
	}

	public function getGeplandExtern() {
	  return (int)$this->GeplandExtern;
	}

	public function setGeplandExtern($newVal) {
		$this->GeplandExtern = $newVal;
	}

	public function getTegoed() {
	  return (int)$this->Tegoed;
	}

	public function setTegoed($newVal) {
		$this->Tegoed = $newVal;
	}

	public function getFlexibelItem() {
		return $this->FlexibelItem;
	}
	
	public function setFlexibelItem($newVal) {
		$this->FlexibelItem = $newVal;
	}

	/**
	 * void ConstructFromArray ([array attributes])
	 * This method, if an array is given as the argument, will
	 * create properties in the current object named after the
	 * keys of the array, and set the properties to the corresponding
	 * values from the array.
	 */
	private function ConstructFromArray (array $atts=NULL) {
		if (is_array($atts)) {
			while (list($key, $value) = each($atts)) {
				$this->$key = $value;
			}
		}
	}

	public function __destruct() {
//		global $logger;
//    	$logger->log("Destroying CursusStatistiek " . $this->__toString() . "!\n",PEAR_LOG_INFO);
   	}
   	
   	public function __toString() {
        return $this->CursusId;
    }
}
?>